using System.IO;

namespace Ants {
    public class Program {
        
        public static void Main(string[] args)
        {            
            if (File.Exists("c:\\ants.log")) {
                File.Delete("c:\\ants.log");
            }
            new Ants().PlayGame(new AntsBot());            
        }

        public static void Log(string message)
        {
            using (var sw = new StreamWriter("c:\\ants.log", true)) {
                sw.WriteLine(message);
            }                               
        }
    }
}